<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="utf-8">
    <meta content="width=device-width, initial-scale=1" name="viewport">
    <title>玉灵 QQ:7031633 Email:webrx@126.com</title>
    <link href="css/animate.css" rel="stylesheet">
    <style>
        .ann:hover {
            animation: flash .2s;
        }
    </style>
</head>

<body>
<h1 class="animate__animated animate__swing animate__infinite">hello world</h1>

<h1 class="ann">hello world</h1>

<hr>
<h2>hello world swing</h2>
<br>
<button onclick="document.querySelectorAll('h2')[0].className='animate__animated animate__swing'">swing</button>
</body>
</html>
